<div id="sidebar">
    <div id="sbox1">
<?php
    require_once(USER_CONTROLLER_FILE);
    if (UserController::isLoggedIn()) {
        include(VIEW_SIDE_USER_FILE);
    }
    else {
        include(VIEW_SIDE_LOGIN_FILE);
    }
    include(VIEW_SIDE_HALL_FILE);
?>
    </div>
</div>